package com.tuanzi.loan.business.repository.settlement.custom;

import com.tuanzi.loan.business.entity.settlement.CompanyInfo;
import com.tuanzi.loan.vo.request.settlement.CompanyInfoSearchRequest;
import com.tuanzi.loan.vo.response.settlement.CompanyInfoSearchResponse;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author caiwanlin
 * @create 2018-01-12 9:55
 */
public interface CompanyInfoRepositoryCustom {
    Page<CompanyInfoSearchResponse> list(CompanyInfoSearchRequest searchRequest, Pageable pageable);

    /**
     * 查找所有公司的名称
     * @return
     */
    List<CompanyInfo> findAllCompanyName();
}
